<extend name="Public/base" />

<block name="body">
<script type="text/javascript" src="__STATIC__/uploadify/jquery.uploadify.min.js"></script>
<div class="main-title">
	<h2>新增消息</h2>
</div>
<form action="{:U()}" method="post" class="form-horizontal" autocomplete="off">

	<div class="form-item">
		<label class="item-label">标题</label>
     	<div class="controls">
     		<input type="text" class="text input-large" name="title" placeholder="标题">
     	</div>
    </div>

	<div class="form-item">
     	<label class="item-label">消息内容</label>
     	<div class="controls">
     		<label class="textarea">
     			<textarea name="message" placeholder="消息内容"></textarea>
     			{:hook('adminArticleEdit', array('name'=>'message','value'=>''))}
     		</label>
     	</div>
    </div>
	<div class="form-item">
		<button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">保存</button>
		<button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
	</div>
</form>
</block>
<block name="script">
<link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/bootstrap-select.css" />
<link rel="stylesheet" type="text/css" href="__STATIC__/bootstrap/css/bootstrap-typeahead.css" />
<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap.js"></script>
<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap-select.js"></script>
<script type="text/javascript" src="__STATIC__/bootstrap/js/bootstrap-typeahead.js"></script>
<script type="text/javascript">
	//导航高亮
	highlight_subnav('{:U('Message/index')}');
</script>
</block>
